#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: 20210621_1.py
# @time: 2021/6/21 13:31
# @desc:
import os
result = os.path.join("grantparent", "parent", "config.json").replace("\\\\", "/")
print(result)

from pathlib import Path

result = Path("parent_in_law")
result = result / "brother" / "demo.py"
print(result)
print(type(result))
print(result.as_posix())
